import org.apache.commons.lang3.StringUtils;

import com.aliyun.odps.udf.UDF;

public class SpliderReplaceStartComma extends UDF {

	public String evaluate(String volume) {
		if (StringUtils.isNotBlank(volume)) {
			while (true) {
				volume = volume.trim();
				if (!volume.startsWith(",") && !volume.startsWith("，")) {
					break;
				}
				volume = volume.substring(1);
			}
		}
		System.out.println(volume);
		return volume;
	}
}
